package com.ccc.influxdb.pojo;

import com.influxdb.annotations.Column;
import com.influxdb.annotations.Measurement;
import lombok.Data;

import java.time.Instant;

/**
 * @author superC
 * @version 2.0.0
 * @date 2023/2/23
 */
@Data
@Measurement(name = "go_goroutines")
public class GoData {

    @Column
    String field;

    @Column
    Double value;

    @Column(timestamp = true)
    Instant time;
}